package cn.wmw.xyy.mapper;

import cn.wmw.xyy.domain.Course;
import cn.wmw.xyy.domain.Teacher;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wmw
 * @since 2022-12-31
 */
public interface CourseMapper extends BaseMapper<Course> {

    void insertCourseTeacher(Long courseId, List<Long> teacherIds);

    List<Teacher> selectTeachersByCourseId(Long id);
}
